package com.training.java.core.collections.treeset.post15;

import java.util.Set;
import java.util.TreeSet;

public class StudentDemo {

	public static void main(String[] args) {
			Set<String> studentNames= new TreeSet<String>();
			
			studentNames.add("reenu");
			studentNames.add("Satya");
			studentNames.add("suneetha");
			studentNames.add("sushmita");
			studentNames.add("ravi");
			studentNames.add("sushil");
			studentNames.add("Suneetha");
			studentNames.add("reenu");
			studentNames.add("");
			studentNames.add("venkat");
			
			
			for(String names:studentNames)
			{
				System.out.println("Names: "+ names);
			}
			
	}

}
